Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.ecm.platform.pictures.tiles.restAPI.contrib--restlets

This contribution is part of XML component org.nuxeo.ecm.platform.pictures.tiles.restAPI.contrib inside nuxeo-platform-imaging-tiling-8.10.jar /OSGI-INF/restAPI-contrib.xml

Documentation

Extension Point

Extension point restlets of component PluggableRestletService.

Contributed Items

  • <restletPlugin class="org.nuxeo.ecm.platform.pictures.tiles.restlets.PictureTilesRestlets" enabled="true" name="getTiles" useSeam="false">
          <urlPatterns>
            <urlPattern>/getTiles/{repoId}/{docId}/{tileWidth}/{tileHeight}/{maxTiles}</urlPattern>
          </urlPatterns>
        </restletPlugin>

XML Source

<extension point="restlets" target="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService">

    <documentation>
     <![CDATA[
     GET /nuxeo/restAPI/getTiles/{repoId}/{docId}/{tileWidth}/{tileHeight}/{maxTiles}?fieldPath=(subPath)&x=(tileX)&y=(tileY)&format=(XML|JSON)
     ]]>
    </documentation>

    <restletPlugin class="org.nuxeo.ecm.platform.pictures.tiles.restlets.PictureTilesRestlets" enabled="true" name="getTiles" useSeam="false">
      <urlPatterns>
        <urlPattern>/getTiles/{repoId}/{docId}/{tileWidth}/{tileHeight}/{maxTiles}</urlPattern>
      </urlPatterns>
    </restletPlugin>
  </extension>